<?php
/**
 * 后台主页模版控制器
 */
class IndexController extends Controller{
    //后台首页
    public function index(){
        //显示视图
        $this->display();
    }
	/*
	 * 欢迎界面
	 */
	public function info(){
		$sys = array(
			'os' => PHP_OS,
			'version' => PHP_VERSION,
			'server' => $_SERVER['SERVER_SOFTWARE'],
			'mysql' => mysql_get_server_info(),
			);
			$this->assign('sys',$sys);
	    $this->display();
	}
}
